package com.bwie.rent.feign;

import com.bwie.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Description 添加描述
 * @InterfaceName AddrsFeign
 * @Author 李奉武
 * @Motto 逆水行舟, 不进则退
 * @LastChangeDate 2022/3/25 18:58
 * @Version v1.0
 */
@FeignClient("assist")
public interface AssistFeign {

    @RequestMapping("assist/addr/findAddrById")
    R findAddrById(@RequestParam(value = "fid")String fid);

    @RequestMapping("assist/addr/info/{addrId}")
    R info(@PathVariable("addrId") Integer addrId);

    @RequestMapping("assist/img/findListByHouse")
    R findListByHouse(@RequestParam(value = "houseid") String houseid);
}
